package com.mazihao.emos.db.pojo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import java.io.Serializable;
import java.util.Date;

@Data
public class TbMessage implements Serializable {
    @Id
    private String id;

    private Integer senderId;

    private String senderPhoto;

    private String senderName;

    private String msg;

    private Date sendTime;

    private Date createTime;

    private Integer receiverId;

    private Boolean readFlag;

    private Boolean lastFlag;

    private Long refId;
}
